package com.example.movie.common.request

import com.example.movie.common.model.BaseResponse
import com.example.movie.data.cinema.model.vo.CinemaDetailVo
import com.example.movie.data.cinema.model.vo.CinemaVo
import com.example.movie.data.cinema.model.vo.SeatVo
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query


interface CinemaService : AbstractService {

    @GET("agent")
    fun agent(
        @Query("cityId") cityId: String,
        @Query("hallTypeId") hallTypeId: Int
    ): Call<BaseResponse<CinemaVo>>

    @GET("agentDetail")
    fun agentDetail(
        @Query("agentId") agentId: Int
    ): Call<BaseResponse<CinemaDetailVo>>


    @GET("seat")
    fun seat(
        @Query("planId") planId: Int
    ): Call<BaseResponse<SeatVo>>

}
